<%@include file="/pub/import.jsp"%>
<%@include file="/pub/header.jsp"%>
<%
    int projectId = RequestUtil.getIntParameter(request,"projectId",0);
    int treeId = RequestUtil.getIntParameter(request,"treeId",0);
    Map<Integer, List<ProjectItems>> tmpItem = (Map<Integer,List<ProjectItems>>) request.getSession().getAttribute("tmp_projectitem");
    List<ProjectItems> list = new ArrayList<ProjectItems>();;
    if(tmpItem!=null && tmpItem.containsKey(treeId)) {
      list = tmpItem.get(treeId);      
    }
    context.put("itemList", list);
    context.put("tree", ScoreTreeHandler.loadById(treeId));    
    out.println(TemplateUtil.getOutput(context,"/view/project/itemFrame.html"));
%>
<%@include file="/pub/footer.jsp"%>